package com.qjl.shopping.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qjl.shopping.bean.User;
import com.qjl.shopping.controller.vm.UserVM;

/**
 * @Author liguanghui
 * @Date 2023/5/1
 */
public interface UserService extends IService<User> {
    public int register(UserVM user);
    public UserVM login(String name, String password);
    public Page<User> selectPage(int pageNum, int pageSize);
    @Override
    boolean updateById(User user);
}
